package com.easemob.cloud;

import android.text.format.Time;
import java.util.Map;
import java.util.Properties;

public abstract class CloudFileManager
{
  protected Properties sessionContext;
  protected static final String TAG = "CloudFileManager";
  public static CloudFileManager instance = null;

  public abstract boolean authorization();

  public String getRemoteFileName(String paramString1, String paramString2)
  {
    Time localTime = new Time();
    localTime.setToNow();
    String str1 = paramString2.substring(paramString2.lastIndexOf("."), paramString2.length());
    String str2 = paramString1 + localTime.toString().substring(0, 15);
    return str2 + str1;
  }

  public abstract void uploadFileInBackground(String paramString1, String paramString2, String paramString3, String paramString4, Map<String, String> paramMap, CloudOperationCallback paramCloudOperationCallback);

  public abstract void downloadFile(String paramString1, String paramString2, String paramString3, Map<String, String> paramMap, CloudOperationCallback paramCloudOperationCallback);

  public abstract void deleteFileInBackground(String paramString1, String paramString2, String paramString3, CloudOperationCallback paramCloudOperationCallback);
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     com.easemob.cloud.CloudFileManager
 * JD-Core Version:    0.6.1
 */